package com.registration.mapper;

import com.registration.bean.LogBean;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LogMapper {
    void addLog(LogBean logBean);
    Integer countLogs();

    void deleteOldestLogs(Integer count);
    // 分页查询日志
    List<LogBean> selectLogsByPage(Integer pageNum, Integer pageSize);


}
